package com.jfinal.code.eclipse.plugin.i18n;

/**
 * i18n
 * 
 * @author yaolin
 *
 */
public class I18n {

	// com.jfinal.code.eclipse.plugin.wizards.DatabaseInfoWizardPage
	public static final String databaseInfoWp_title = "初始化数据库信息";
	public static final String databaseInfoWp_description = "请根据自己的需要选择数据库类型并填写对应的数据库信息";

	// com.jfinal.code.eclipse.plugin.wizards.ui.DatabaseInfoUI
	public static final String databaseInfoUI_loadPropertyLabel = "加载配置";
	public static final String databaseInfoUI_databaseTypeLabel = "数据库类型";
	public static final String databaseInfoUI_serverNameLabel = "主机名(IP)";
	public static final String databaseInfoUI_portLabel = "端口号";
	public static final String databaseInfoUI_databaseNameLabel = "数据库名称";
	public static final String databaseInfoUI_usernameLabel = "用户名";
	public static final String databaseInfoUI_passwordLabel = "密码";
//	public static final String databaseInfoUI_useDefaultDriverLabel = "使用默认的驱动";
	public static final String databaseInfoUI_driverLocationLabel = "JDBC 驱动";
	public static final String databaseInfoUI_jdbcUrlLabel = "JDBC URL";
	public static final String databaseInfoUI_jdbcDriverClassNameLabel = "JDBC 驱动类名";

	// com.jfinal.code.eclipse.plugin.wizards.ui.handler.DatabaseInfoUIEventHandler
	public static final String databaseInfoUIEvent_pleaseSelectDriverFile = "请选择数据库驱动jar包";

	// com.jfinal.code.eclipse.plugin.wizards.TableSelectWizardPage
	public static final String tableSelectWp_title = "数据库表选择";
	public static final String tableSelectWp_description = "请根据自己的需要选择需要生成代码的数据库表并填写相应的信息";
	public static final String tableSelectWp_databaseTable = "所有数据库表";
	public static final String tableSelectWp_selectedTable = "需要生成代码的数据库表";

	public static final String tableSelectUI_pleaseSelectTable = "请选择需要生成代码的数据库表";
	
	// com.jfinal.code.eclipse.plugin.wizards.MakeCodeWizardPage
	public static final String makeCodeWp_title = "代码生成策略";
	public static final String makeCodeWp_description = "请根据自己的需要选择相应的代码生成策略并填写相应的信息";

	// com.jfinal.code.eclipse.plugin.wizards.ui.MakeCodeUI
	public static final String makeCodeUI_codePathLabel = "代码根路径";
	public static final String makeCodeUI_tablePrefixLabel = "数据库表前缀";
	public static final String makeCodeUI_tablePrefixTip = "多个用“,”分隔";
	public static final String makeCodeUI_baseModelPackageNameLabel = "baseModel包名";
	public static final String makeCodeUI_modelPackageNameLabel = "model包名";
	public static final String makeCodeUI_makeDaoInModelLabel = "在model中生成dao";
	public static final String makeCodeUI_makeDictLabel = "生成字典文件";
	public static final String makeCodeUI_sqlServerFixErrorLabel = "如果SQLServer报错，则勾选这里";
	
	public static final String makeCodeUI_customJarFileLabel = "自定义生成策略jar包";
	public static final String makeCodeUI_customImplClassNameLabel = "自定义实现类名";
	public static final String makeCodeUI_basePackNameLabel = "基本包名";
	public static final String makeCodeUI_templatePathLabel = "模板文件根路径";
	public static final String makeCodeUI_javaPathLabel = "java文件根路径";
	public static final String makeCodeUI_resourcePathLabel = "配置文件根路径";
	public static final String makeCodeUI_jsPathLabel = "js文件根路径";
	public static final String makeCodeUI_viewPathLabel = "视图文件根路径";

	// validator
	public static final String error_empty_string = "%s 不能为空";
	public static final String error_can_not_connection_to_database = "数据库连接失败";
	// error
	public static final String error_generator_instantiation = "自定义生成策略初始化失败";
	public static final String error_generator_notfound = "未找到自定义生成策略实现类";
}
/**
 * <pre>
 * &#64;Test
 * public void test今天() {
 * 	int 星期三 = 3;
 * 	int 星期日 = 7;
 * 	// 那么今天是星期五
 * 	int 今天 = 5;
 * 	int 昨天 = 今天 - 1;
 * 	int 明天 = 今天 + 1;
 * 	{
 * 		// 如果昨天是明天
 * 		昨天 = 明天;
 * 		// 即 : 今天 - 1 = 今天 + 1
 * 		今天 = 今天 + 2;
 * 		今天 = 5 + 2;
 * 		Assert.assertEquals(星期日, 今天);
 * 	}
 * 	{
 * 		// 如果昨天是明天
 * 		明天 = 昨天;
 * 		// 即 : 今天 + 1 = 今天 - 1
 * 		今天 = 今天 - 2;
 * 		今天 = 5 - 2;
 * 		Assert.assertEquals(星期三, 今天);
 * 	}
 * }
 * </pre>
 */
